package com.example.big_orange2.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("users")
//实体化数据库
@Data
public class User implements Serializable {

    @TableId(value = "userid",type = IdType.AUTO)//定义主键，必须要有
    private Integer userid ;
    private String username;
    private String passwords;
    private String email;
    private String telephone;
    private String openid;
    private Float deposit;
    private Float balance ;
    private String active;


}
